local shaorong = fk.CreateSkill {
  name = "th_shaorong",
  tags = { Skill.Compulsory },
}

shaorong:addEffect(fk.DamageCaused, {
  anim_type = "offensive",
  can_trigger = function(self, event, target, player, data)
    return player:hasSkill(shaorong.name) and target == player and data.to and not data.to.dead and data.to:distanceTo(player) == 1 and
    data.card and data.card.trueName == "slash" and data.by_user
  end,
  on_use = function(self, event, target, player, data)
    data.damage = data.damage + 1
  end,
})

shaorong:addEffect("atkrange", {
  correct_func = function (self, from, to)
    return from:hasSkill("th_shaorong") and math.huge or 0
  end,
})

Fk:loadTranslationTable{
  ["th_shaorong"] = "哨戎",
  [":th_shaorong"] = "锁定技，你的攻击范围无限；你使用【杀】对与你距离1的角色伤害+1。",
}

return shaorong